import Vue from "vue"
import api from '@/service/index'
// Vue.axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
export default function putApplication(data={}){
    return new Promise((resolve,reject)=>{
        Vue.axios.post(api.application,
            data,
            {headers:{'Content-Type':'multipart/form-data'}},
            ).then((response) => {
            resolve(response.data)
        }).catch(e=>{
            console.log(e)
            reject(e)
        })
    })
}